var fire = new Object("fire","#FFF","#F00",fireAction,fireDraw);

function fireAction(x,y,direction)
{
	window.game.playerColor="#F00";
	window.game.table[x][y]=0;
	window.game.playerDead=true;
	window.game.endGame("Puoniesh!");
	
	return true;
}

function fireDraw(context,x,y,width,height)
{
	
}

window.game.addObject( fire );